#!/bin/sh
#安装命令
#wget https://git.oschina.net/g0g001/Adbyby_ram/raw/master/install.sh && sh install
wget -O /bin/0ad_byby.sh https://git.oschina.net/g0g001/Adbyby_ram/raw/master/0ad_byby.sh
chmod +x /bin/0ad_byby.sh
sed -i 's:7620n.tar.gz:ar71xx.tar.gz:g' /bin/0ad_byby.sh
wget -O /bin/0ad_byby_sh.sh https://git.oschina.net/g0g001/Adbyby_ram/raw/master/0ad_byby_sh.sh
chmod +x /bin/0ad_byby_sh.sh
sed -i 's:exit 0:/bin/0ad_byby.sh:g' /etc/rc.local || sed -i 's:exit:/bin/0ad_byby.sh:g' /etc/rc.local && echo 'exit 0' >> /etc/rc.local
/bin/0ad_byby.sh&
exit 0